package com.se2.antiqueexhibition.Service.impl;

import com.se2.antiqueexhibition.Mapper.AnnouncementMapper;
import com.se2.antiqueexhibition.Service.AnnouncementService;
import com.se2.antiqueexhibition.pojo.Announcement;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnnouncementServiceimpl implements AnnouncementService {
    @Resource
    AnnouncementMapper announcementMapper;

    @Override
    public List<Announcement> getAnnouncementList() {
        return announcementMapper.getAnnouncementList();
    }

}
